import request from '@/utils/request'
//专家打分管理接口
export function expertsTaskItemQuery(data) { //分页列表
    return request({
        method: 'get',
        url: '/expertsTaskItem/query',
        params: data
    })
}

export function expertsTaskItemQueryById(id) { //查询
    return request({
        method: 'get',
        url: '/expertsTaskItem/query/' + id,
    })
}

export function expertsTaskItemAdd(data) { //添加
    return request({
        method: 'post',
        url: '/expertsTaskItem/add',
        data
    })
}

export function expertsTaskItemDelete(id) { //删除
    return request({
        method: 'get',
        url: '/expertsTaskItem/delete/' + id,
    })
}

export function expertsTaskItemUpdate(data) { //修改
    return request({
        method: 'post',
        url: '/expertsTaskItem/update',
        data
    })
}